package com.weichen.xd.data;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Dune on 2017/9/8.
 */

public class Cw implements Parcelable {

    public static final Parcelable.Creator<Cw> CREATOR = new Parcelable.Creator<Cw>() {
        @Override
        public Cw createFromParcel(Parcel source) {
            return new Cw(source);
        }

        @Override
        public Cw[] newArray(int size) {
            return new Cw[size];
        }
    };
    @SerializedName("brf")
    private String brf;
    @SerializedName("txt")
    private String txt;

    public Cw() {
    }

    protected Cw(Parcel in) {
        this.brf = in.readString();
        this.txt = in.readString();
    }

    public String getBrf() {
        return brf;
    }

    public void setBrf(String brf) {
        this.brf = brf;
    }

    public String getTxt() {
        return txt;
    }

    public void setTxt(String txt) {
        this.txt = txt;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.brf);
        dest.writeString(this.txt);
    }
}
